/*
* pps-cloud
*/
package com.pitop.succedaneum.api;

import com.pitop.succedaneum.entity.SuccedaneumMaterial;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

/**
 * 可替代料材 api请求熔断器 熔断实现
 * @author berton
 */
@Component
public class SuccedaneumMaterialFeignApiImpl implements SuccedaneumMaterialFeignApi {
    /**
     * 查询SuccedaneumMaterial一个详情信息
     * @param id id
     * @param code 编码
     * @return BeanRet
     */
    @Override
    public  SuccedaneumMaterial load(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
        return new SuccedaneumMaterial();
    }


    /**
     * 根据条件id查询SuccedaneumMaterial一个详情信息
     *
     * @param id id
     * @return BeanRet
     */
    @Override
    public   SuccedaneumMaterial loadById(@RequestParam("id") java.lang.Long id){
        return new SuccedaneumMaterial();
    }

    /**
     * 根据条件code查询SuccedaneumMaterial一个详情信息
     *
     * @param code 编码
     * @return BeanRet
     */
    @Override
    public   SuccedaneumMaterial loadByCode(@RequestParam("code") java.lang.String code){
        return new SuccedaneumMaterial();
    }


    /**
     * 查询SuccedaneumMaterial信息集合
     *
     * @return 分页对象
     */
    @Override
    public    List<SuccedaneumMaterial> list(@RequestBody SuccedaneumMaterial succedaneumMaterial,int curPage,int pageSize){
        return new ArrayList();
    }


    /**
     * 查询SuccedaneumMaterial信息集合
     *
     * @return 分页对象
     */
    @Override
    public   List<SuccedaneumMaterial> listByPk(java.lang.Long id,java.lang.String code,int curPage,int pageSize){
        return new ArrayList();
    }


    @Override
    public Integer count(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
         return 0;
    }

    @Override
    public Integer count(@RequestBody SuccedaneumMaterial succedaneumMaterial) {
        return 0;
    }
    /**
     * 创建SuccedaneumMaterial
     *
     * @return BeanRet
     */
    @Override
    public   SuccedaneumMaterial build(@RequestBody SuccedaneumMaterial succedaneumMaterial){
        return new SuccedaneumMaterial();
    }


    /**
     * 修改SuccedaneumMaterial
     *
     * @return BeanRet
     */
    @Override
    public   SuccedaneumMaterial modify(@RequestBody SuccedaneumMaterial succedaneumMaterial){
        return new SuccedaneumMaterial();
    }

    /**
     * 删除SuccedaneumMaterial
     *
     * @return BeanRet
     */
    @Override
    public  void delete(@RequestParam("id") java.lang.Long id,@RequestParam("code") java.lang.String code){
        return;
    }
}
